Turn from: http://www.cnblogs.com/yes123/p/3919337.html
Renaming a file or directory under Linux allows you to use either the MV command or the rename command, where you can share the two methods.
The MV command can be renamed and can move files or
Rename a file or folder in Linux (mv command and rename Command)
You can use the mv or rename command to rename a file or directory in Linux. Here we will share the usage of both.
The mv command can be renamed, and files or folders can be
To rename a file or directory under Linux, you can use the MV command or the rename commandMv————————————The MV command can be renamed or moved to a file or folder.Example: Renaming directory A to BMV A BExample: Move the/a directory to/b and rename
The rename command in the Linux command is mainly used to rename the file, similar to the MV command, but rename can rename the batch file, while the MV command can only rename a single file, the following gives you a detailed description of the use
The Linux RENAME Command has two versions: one is the C language version and the other is the Perl language version. The earlier Linux releases basically use the C language version, now it is hard to see the C language version. due to historical
The Linux rename Command has two versions: one is the C language version and the other is the Perl language version. The earlier Linux releases basically use the C language version, now it is hard to see the C language version. due to historical
There are two versions of the Linux Rename command, one in C and one in Perl, and the earlier Linux distributions are basically in the C language, and it's hard to see the C language version, because of historical reasons, in the Perl language
I. File rename and move (MV) In Linux, renaming files is called moving (moving). The MV command can move files and directories to another location or rename them. 1.1 Using the MV RenameBelow/usr/local create an empty file as test, using the MV
Linux rename command usage (suitable for modifying file names in large batches), linuxrename
Rename command usage in Linux (suitable for modifying file names in large batches)
When watching laruence's Private food, I ran into the mv command, which
Dos/windows, rename the file with rename. And the book said, Linux under the file or directory renamed the MV. I've always done this, but I've overlooked Linux, which has a command called rename. It's all rename, but it's a bit different in function.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.